# Uncomment the following line for Solaris
# C_LINK = -lsocket -lnsl -lm

# Uncomment this for SCO.  (Note, this has only been reported to work with
# Revision 3.2.4 with the "SCO TCP/IP Development System" package installed.
# Please let me know if you have any other SCO success stories.
# C_LINK = -lsocket

C_FLAGS = -I. -I../../../include -L../../../lib

TLIB= -ltlib

BINARYS = shm_test

# Comment the following line if you are not using the gnu c compiler
C_ARGS = -Wall

# You might have to change this if your c compiler is not cc
CC = gcc

.o:
	$(CC) -c $(C_FLAGS) $*

all: $(BINARYS)

shm_test: shm_test.c
	$(CC) -o  shm_test shm_test.c  $(TLIB) $(C_FLAGS) $(C_LINK)
	strip shm_test

clean: 
	rm $(BINARYS)
